package com.atguigu.jingtai;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/12/17 21:23
 * @注释
 */
public class CalcImpl implements Calc {
    @Override
    public int add(int a, int b) {
        int result = a + b;
        return result;
    }

    @Override
    public int sub(int a, int b) {
        int result = a - b;
        return result;
    }

    @Override
    public int mul(int a, int b) {
        int result = a * b;
        return result;
    }

    @Override
    public int div(int a, int b) {
        int result = a / b;
        return result;
    }
}
